package com.slipper.sfts.order.service.support;

import com.slipper.PaasContext;
import com.slipper.qmt.vo.DealVO;
import com.slipper.sfts.order.service.IDealer;
import com.slipper.sfts.stock.service.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class DealDealer implements IDealer<DealVO> {
    private static final Logger logger = LoggerFactory.getLogger(DealDealer.class);

    @Override
    public void doDeal(DealVO vo) {
        logger.info("接收到成交回调消息：{}", vo);
        PaasContext.getBean(StockOrderService.class).dealDeal(vo);
    }
}
